﻿// ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- 
// XMLocalizator 0.9
// This code is under The MIT Licence (http://xmlocalizator.codeplex.com/license).
// Copyright (c) 2011 Bartosz Lenar (http://bartoszlenar.com/).
//
// For the full list of people involved in this project, visit:
// http://xmlocalizator.codeplex.com/wikipage?title=About
//
// The latest release, documentation, examples and demo applications always available on:
// http://xmlocalizator.codeplex.com/
// ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- 

using System;
using System.Text;

namespace XMLocalizator.Exceptions
{
    /// <summary>
    /// Exception thrown if 'GetPhrase' method don't find the specified phrase.
    /// </summary>
    public class PhraseNotFoundException : Exception
    {
        public PhraseNotFoundException()
        {
        }

        public PhraseNotFoundException(string message)
            : base(message)
        {
        }

        public PhraseNotFoundException(string message, Exception innerException)
            : base(String.Format("{0} Please check the inner exception.", message), innerException)
        {
        }
    }
}
